from dataclasses import dataclass
from enum import Enum

from emi.bar.data import SymbolMeta
from emi.model._market import MarketIndex

sh = MarketIndex.CH_SH

ss = SymbolMeta(name="上证指数ww",code="000001")

sh2 = MarketIndex(ss)

print(f"{sh}")
print(f"{sh2}")

